# -*- coding: utf-8 -*-

from django.urls import path, include
from rest_framework import routers

router = routers.SimpleRouter()

urlpatterns = [
    path("", include("apps.sys.login.urls")),
    path("user/", include("apps.sys.user.urls")),
    path("router/", include("apps.sys.router.urls")),
    path("dict/", include("apps.sys.dict.urls")),
    path("dept/", include("apps.sys.dept.urls")),
    path("post/", include("apps.sys.post.urls")),
    path("role/", include("apps.sys.role.urls")),
    path("menu/", include("apps.sys.menu.urls")),
    path("config/", include("apps.sys.config.urls")),
    path("notice/", include("apps.sys.notice.urls")),
    path("file/", include("apps.sys.file.urls")),
    path("whitelist/", include("apps.sys.whitelist.urls")),
    path("loginlog/", include("apps.sys.loginlog.urls")),
    path("operlog/", include("apps.sys.operlog.urls")),
]
urlpatterns += router.urls
